package com.ujs.shc.service;

import com.ujs.shc.pojo.Purse;

public interface PurseService {

    /**
     * 通过用户名获取钱包
     * @param uid
     * @return
     */
    public Purse getByUid(Integer uid);

    /**
     * 添加钱包
     * @param purse
     * @return
     */
    public Integer addPurse(Purse purse);

    /**
     * 充值
     */
    public Integer rechargePurse(Integer uid, Float money);




}
